home *** CD-ROM | disk | FTP | other *** search
- Path: news-m01.ny.us.ibm.net!usenet
- From: bbogard@ibm.net
- Newsgroups: comp.lang.c++
- Subject: Re: C++ & macros
- Date: 21 Feb 1996 20:43:57 GMT
- Message-ID: <4gg06d$401m@news-s01.ny.us.ibm.net>
- References: <DLBxoH.GLw@ariel.cs.yorku.ca> <310EA2DE.6927@a4430edc.esr.hp.com> <4eun5f$50c@cloner4.netcom.com>
- Reply-To: bbogard@ibm.net
- NNTP-Posting-Host: slip37-223-98.ibm.net
- X-Newsreader: IBM NewsReader/2 v1.2.5
-
- In <4eun5f$50c@cloner4.netcom.com>, swampwiz@ix.netcom.com(Jean P. Laborde ) writes:
- >
- >Someone responded to this group and advocated using a define macro.
- >
- >I thought that was extremely bad practice in C++.
- >
- >Comments Encouraged,
- >The Swamp Wizard
-
- Using #define macros is not a bad idea, but it depends on the problem and restrictions
- of the project you are working on. Sometime, for speed you want just a macro and not
- have to make a function call.
-